package guoanmaker.operator.business.model;

import guoanmaker.operator.helper.common.abstractobj.IdEntity;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.*;
import java.util.Date;
import java.util.Set;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name="t_operator_permission")
public class OperatorPermission extends IdEntity {
	@Column(name="permission_name")
	private String permissionName;
    
	@Column(name="role_id")
	private String roleid;
//	@ManyToMany
//	@JoinTable(name="t_operator_permission",joinColumns={@JoinColumn(name="permissionId")},inverseJoinColumns={@JoinColumn(name="roleId")})
//	private Set<OperatorRole> roles;

}
